//
//  LevelUp.m
//  SlimmingTempo
//
//  Created by kai on 12-3-18.
//  Copyright (c) 2012年 110. All rights reserved.
//

#import "LevelUp.h"

@implementation LevelUp
- (void) viewDidLoad
{
//	UIActionSheet *styleAlert = [[UIActionSheet alloc] initWithTitle:@"Choose a UIBarStyle:"delegate:self cancelButtonTitle:@"Cancel"
//        destructiveButtonTitle:nil otherButtonTitles:@"Default",@"BlackOpaque",@"BlackTranslucent",nil,nil];
////	styleAlert.frame = CGRectMake(0, 0, 200, 200);
//	// use the same style as the nav bar
//	styleAlert.actionSheetStyle = (UIActionSheetStyle)self.navigationController.navigationBar.barStyle;
//	
//	[styleAlert showInView:self.view];
//	[styleAlert release];
//    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"系统消息"
//                                                    message:@"            姓名： 李修\r\n         性别：  男\r\n            年龄： 23岁\r\n"
//                                                   delegate:self
//                                          cancelButtonTitle:@"详细信息" otherButtonTitles:@"Ok",nil];
//    UIImageView *viewe = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 100, 100)];
//    viewe.image = [UIImage imageNamed:@"bg.png"];
//    [alert addSubview:viewe];
//    [viewe release];
//    
//    [alert show];
//    [alert release];
    
}
//
//- (void)willPresentActionSheet:(UIActionSheet *)actionSheet
//{
//    actionSheet.frame = CGRectMake(0, 115, 320, 290);
//}
//
//- (void)didPresentActionSheet:(UIActionSheet *)actionSheet
//{
//    actionSheet.frame = CGRectMake(0, 115, 320, 290);
////    actionSheet.frame.origin.x = CGPointMake(60, 130);
//
//}
//
//- (void)actionSheet:(UIActionSheet *)actionSheet willDismissWithButtonIndex:(NSInteger)buttonIndex
//{
//    actionSheet.frame = CGRectMake(0, 115, 320, 290);
//
//}


//- (void)actionSheet:(UIActionSheet *)modalView clickedButtonAtIndex:(NSInteger)buttonIndex
//{
    // Change the navigation bar style, also make the status bar match with it
//	switch (buttonIndex)
//	{
//		case 0:
//		{
//			[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleDefault;
//			self.navigationController.navigationBar.barStyle = UIBarStyleDefault;
//			break;
//		}
//		case 1:
//		{
//			[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleBlackOpaque;
//			self.navigationController.navigationBar.barStyle = UIBarStyleBlackOpaque;
//			break;
//		}
//		case 2:
//		{
//			[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleBlackTranslucent;
//			self.navigationController.navigationBar.barStyle = UIBarStyleBlackTranslucent;
//			break;
//		}
//	}
//}
@end
